<div id='body'>

    <div id='main-body' >
        <p class='breascum'><h5><a href="<?=$this->baseUrl?>">Trang chủ</a> / <a href="<?=$this->baseUrl?>/article/index">Tin tức</a> / Tin công nghệ</h5></p>
        <p> <h3><?=$this->articleType->name_vn?></h3></p>
        <p>
        <h4><?=$this->article->title_vn?></h4>
        <span class='small-font'>Ngày <?=date_format(date_create($this->article->created_date), "d-m-Y" )?> bởi <?=$this->createdBy->username?></span>
        </p>
        <p><?=$this->article->content_vn?></p>

        <p>
            <h4>Tin liên quan</h4>
            <ul class='news-details-list'>
                <?php
                    $i = 0;
                    foreach($this->listArticle as $article)
                    {
                        if($i==5)
                            break
                ?>
                <li><a href='<?=$this->baseUrl?>/article/detail/id/<?=$article->id?>'><?=$article->title_vn?></a></li>
                <?php
                        $i++;
                    }
                ?>
            </ul>
        </p>
        <br/><br/>

        <br/><br/><br/><br/>
    </div>
    <div id='sidebar'>
        <br/>
    </div>
</div>